package org.jeecg.basic.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.UnsupportedEncodingException;

/**
 * @Description: 样件点检项目配置
 * @Author: LiCY
 * @Date:   2024-11-27
 * @Version: V1.0
 */
@ApiModel(value="mes_testunitdetail_cfg对象", description="样件点检项目配置")
@Data
@TableName("mes_boundarydetail_cfg")
public class MesTestunitdetailCfg implements Serializable {
    private static final long serialVersionUID = 1L;
	/**HEADID*/
    @ApiModelProperty(value = "HEADID")
    @MppMultiId
    private String headId;
	/**检验配置表ID*/
	@Excel(name = "检验配置表ID", width = 15)
    @ApiModelProperty(value = "检验配置表ID")
    @MppMultiId
    private String cfgid;
    /**检验配置表ID*/
    @Excel(name = "检验配置描述", width = 15)
    @ApiModelProperty(value = "检验配置描述")
    @TableField(exist = false)
    private String description;
	/**是否由MES判定结果*/
	@Excel(name = "是否由MES判定结果", width = 15)
    @ApiModelProperty(value = "是否由MES判定结果")
    private Integer enable;
	/**下限值*/
	@Excel(name = "下限值", width = 15)
    @ApiModelProperty(value = "下限值")
    private BigDecimal lowLimit;
	/**标准值*/
	@Excel(name = "标准值", width = 15)
    @ApiModelProperty(value = "标准值")
    private BigDecimal standard;
	/**上限值*/
	@Excel(name = "上限值", width = 15)
    @ApiModelProperty(value = "上限值")
    private BigDecimal upLimit;
	/**创建时间*/
	@Excel(name = "创建时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date ctime;
}
